\hypertarget{class_i_mesh}{\section{I\-Mesh Class Reference}
\label{class_i_mesh}\index{I\-Mesh@{I\-Mesh}}
}


Pale\-Gem's proprietary mesh representation.  




{\ttfamily \#include $<$I\-Mesh.\-h$>$}

Inheritance diagram for I\-Mesh\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_i_mesh}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual \hyperlink{class_i_mesh_a1227ad691cc829ef540b3ff956019423}{$\sim$\-I\-Mesh} ()
\item 
virtual I\-D3\-D11\-Buffer $\ast$ \hyperlink{class_i_mesh_a3ac09054c73a9d1545caf6f57325a5c0}{Get\-Vertex\-Buffer} ()=0
\item 
virtual I\-D3\-D11\-Buffer $\ast$ \hyperlink{class_i_mesh_a8f8f4bec83a13ca2fd34acfa8dfd9546}{Get\-Index\-Buffer} ()=0
\item 
virtual int \hyperlink{class_i_mesh_a7c9683d0afae7163b57e2787db8563c5}{Get\-Index\-Count} ()=0
\item 
virtual int \hyperlink{class_i_mesh_a6cf593079693e566cb5900f1555b877a}{Get\-Vertex\-Count} ()=0
\item 
virtual void \hyperlink{class_i_mesh_a62e4c5399ef799ade53f059f143b6e81}{Set\-Vertices} (\hyperlink{struct_s_vertex}{S\-Vertex} $\ast$p\-Verts, int vertex\-Count)=0
\item 
virtual void \hyperlink{class_i_mesh_a9b407f85ec37aa62cb2593bac329a77c}{Set\-Indices} (W\-O\-R\-D $\ast$p\-Indices, int index\-Count)=0
\item 
virtual \hyperlink{struct_s_vertex}{S\-Vertex} $\ast$ \hyperlink{class_i_mesh_aba02918f7c2f017f3f462a0e3234472a}{Get\-Vertices} (int \&vertex\-Count)=0
\item 
virtual \hyperlink{struct_s_vertex}{S\-Vertex} $\ast$ \hyperlink{class_i_mesh_abb8a0607a80a88e8d931c4fd4d84e142}{Copy\-Vertices} (int \&vertex\-Count)=0
\item 
virtual W\-O\-R\-D $\ast$ \hyperlink{class_i_mesh_aa03f067238d9c8763e44e07ac049102f}{Get\-Indices} (int \&index\-Count)=0
\item 
virtual W\-O\-R\-D $\ast$ \hyperlink{class_i_mesh_ab1c78916ed5dc4dfb5d9cc98d6924701}{Copy\-Indices} (int \&index\-Count)=0
\item 
virtual void \hyperlink{class_i_mesh_a1e044cbe15ec3dd74ddec6a72b4f34d0}{Create\-Buffers} ()=0
\begin{DoxyCompactList}\small\item\em Creates the D\-X Index and vertex buffers. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Pale\-Gem's proprietary mesh representation. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_i_mesh_a1227ad691cc829ef540b3ff956019423}{\index{I\-Mesh@{I\-Mesh}!$\sim$\-I\-Mesh@{$\sim$\-I\-Mesh}}
\index{$\sim$\-I\-Mesh@{$\sim$\-I\-Mesh}!IMesh@{I\-Mesh}}
\subsubsection[{$\sim$\-I\-Mesh}]{\setlength{\rightskip}{0pt plus 5cm}virtual I\-Mesh\-::$\sim$\-I\-Mesh (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{class_i_mesh_a1227ad691cc829ef540b3ff956019423}


\subsection{Member Function Documentation}
\hypertarget{class_i_mesh_ab1c78916ed5dc4dfb5d9cc98d6924701}{\index{I\-Mesh@{I\-Mesh}!Copy\-Indices@{Copy\-Indices}}
\index{Copy\-Indices@{Copy\-Indices}!IMesh@{I\-Mesh}}
\subsubsection[{Copy\-Indices}]{\setlength{\rightskip}{0pt plus 5cm}virtual W\-O\-R\-D$\ast$ I\-Mesh\-::\-Copy\-Indices (
\begin{DoxyParamCaption}
\item[{int \&}]{index\-Count}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{class_i_mesh_ab1c78916ed5dc4dfb5d9cc98d6924701}


Implemented in \hyperlink{classpg_mesh_ac16d89780fa415f05530974eca17e007}{pg\-Mesh}.

\hypertarget{class_i_mesh_abb8a0607a80a88e8d931c4fd4d84e142}{\index{I\-Mesh@{I\-Mesh}!Copy\-Vertices@{Copy\-Vertices}}
\index{Copy\-Vertices@{Copy\-Vertices}!IMesh@{I\-Mesh}}
\subsubsection[{Copy\-Vertices}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf S\-Vertex}$\ast$ I\-Mesh\-::\-Copy\-Vertices (
\begin{DoxyParamCaption}
\item[{int \&}]{vertex\-Count}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{class_i_mesh_abb8a0607a80a88e8d931c4fd4d84e142}


Implemented in \hyperlink{classpg_mesh_ab551d6b24ab19f5825f2b233a1b524bb}{pg\-Mesh}.

\hypertarget{class_i_mesh_a1e044cbe15ec3dd74ddec6a72b4f34d0}{\index{I\-Mesh@{I\-Mesh}!Create\-Buffers@{Create\-Buffers}}
\index{Create\-Buffers@{Create\-Buffers}!IMesh@{I\-Mesh}}
\subsubsection[{Create\-Buffers}]{\setlength{\rightskip}{0pt plus 5cm}virtual void I\-Mesh\-::\-Create\-Buffers (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{class_i_mesh_a1e044cbe15ec3dd74ddec6a72b4f34d0}


Creates the D\-X Index and vertex buffers. 

Will use default cube if vertices or indices are faulty. 

Implemented in \hyperlink{classpg_mesh_aad829076f9fa41e305eb4b05987f2cdc}{pg\-Mesh}.

\hypertarget{class_i_mesh_a8f8f4bec83a13ca2fd34acfa8dfd9546}{\index{I\-Mesh@{I\-Mesh}!Get\-Index\-Buffer@{Get\-Index\-Buffer}}
\index{Get\-Index\-Buffer@{Get\-Index\-Buffer}!IMesh@{I\-Mesh}}
\subsubsection[{Get\-Index\-Buffer}]{\setlength{\rightskip}{0pt plus 5cm}virtual I\-D3\-D11\-Buffer$\ast$ I\-Mesh\-::\-Get\-Index\-Buffer (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{class_i_mesh_a8f8f4bec83a13ca2fd34acfa8dfd9546}


Implemented in \hyperlink{classpg_mesh_aa668e5a3d5d91d42d7d1732da68b5054}{pg\-Mesh}.

\hypertarget{class_i_mesh_a7c9683d0afae7163b57e2787db8563c5}{\index{I\-Mesh@{I\-Mesh}!Get\-Index\-Count@{Get\-Index\-Count}}
\index{Get\-Index\-Count@{Get\-Index\-Count}!IMesh@{I\-Mesh}}
\subsubsection[{Get\-Index\-Count}]{\setlength{\rightskip}{0pt plus 5cm}virtual int I\-Mesh\-::\-Get\-Index\-Count (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{class_i_mesh_a7c9683d0afae7163b57e2787db8563c5}


Implemented in \hyperlink{classpg_mesh_af5c0e4b2ab1e187592b8747cb72b8700}{pg\-Mesh}.

\hypertarget{class_i_mesh_aa03f067238d9c8763e44e07ac049102f}{\index{I\-Mesh@{I\-Mesh}!Get\-Indices@{Get\-Indices}}
\index{Get\-Indices@{Get\-Indices}!IMesh@{I\-Mesh}}
\subsubsection[{Get\-Indices}]{\setlength{\rightskip}{0pt plus 5cm}virtual W\-O\-R\-D$\ast$ I\-Mesh\-::\-Get\-Indices (
\begin{DoxyParamCaption}
\item[{int \&}]{index\-Count}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{class_i_mesh_aa03f067238d9c8763e44e07ac049102f}


Implemented in \hyperlink{classpg_mesh_a05956ad8d08192a38acfb7470edfeb6c}{pg\-Mesh}.

\hypertarget{class_i_mesh_a3ac09054c73a9d1545caf6f57325a5c0}{\index{I\-Mesh@{I\-Mesh}!Get\-Vertex\-Buffer@{Get\-Vertex\-Buffer}}
\index{Get\-Vertex\-Buffer@{Get\-Vertex\-Buffer}!IMesh@{I\-Mesh}}
\subsubsection[{Get\-Vertex\-Buffer}]{\setlength{\rightskip}{0pt plus 5cm}virtual I\-D3\-D11\-Buffer$\ast$ I\-Mesh\-::\-Get\-Vertex\-Buffer (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{class_i_mesh_a3ac09054c73a9d1545caf6f57325a5c0}


Implemented in \hyperlink{classpg_mesh_a8852a5d907d8afc3a03fc5b1ad6ba8cd}{pg\-Mesh}.

\hypertarget{class_i_mesh_a6cf593079693e566cb5900f1555b877a}{\index{I\-Mesh@{I\-Mesh}!Get\-Vertex\-Count@{Get\-Vertex\-Count}}
\index{Get\-Vertex\-Count@{Get\-Vertex\-Count}!IMesh@{I\-Mesh}}
\subsubsection[{Get\-Vertex\-Count}]{\setlength{\rightskip}{0pt plus 5cm}virtual int I\-Mesh\-::\-Get\-Vertex\-Count (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{class_i_mesh_a6cf593079693e566cb5900f1555b877a}


Implemented in \hyperlink{classpg_mesh_ad549bf8d039ad93c6e8c995b6a9a5359}{pg\-Mesh}.

\hypertarget{class_i_mesh_aba02918f7c2f017f3f462a0e3234472a}{\index{I\-Mesh@{I\-Mesh}!Get\-Vertices@{Get\-Vertices}}
\index{Get\-Vertices@{Get\-Vertices}!IMesh@{I\-Mesh}}
\subsubsection[{Get\-Vertices}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf S\-Vertex}$\ast$ I\-Mesh\-::\-Get\-Vertices (
\begin{DoxyParamCaption}
\item[{int \&}]{vertex\-Count}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{class_i_mesh_aba02918f7c2f017f3f462a0e3234472a}


Implemented in \hyperlink{classpg_mesh_ae53918923865eb1fcdd361ba0926b083}{pg\-Mesh}.

\hypertarget{class_i_mesh_a9b407f85ec37aa62cb2593bac329a77c}{\index{I\-Mesh@{I\-Mesh}!Set\-Indices@{Set\-Indices}}
\index{Set\-Indices@{Set\-Indices}!IMesh@{I\-Mesh}}
\subsubsection[{Set\-Indices}]{\setlength{\rightskip}{0pt plus 5cm}virtual void I\-Mesh\-::\-Set\-Indices (
\begin{DoxyParamCaption}
\item[{W\-O\-R\-D $\ast$}]{p\-Indices, }
\item[{int}]{index\-Count}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{class_i_mesh_a9b407f85ec37aa62cb2593bac329a77c}


Implemented in \hyperlink{classpg_mesh_ad4d6e14a536742c39485337528565cd7}{pg\-Mesh}.

\hypertarget{class_i_mesh_a62e4c5399ef799ade53f059f143b6e81}{\index{I\-Mesh@{I\-Mesh}!Set\-Vertices@{Set\-Vertices}}
\index{Set\-Vertices@{Set\-Vertices}!IMesh@{I\-Mesh}}
\subsubsection[{Set\-Vertices}]{\setlength{\rightskip}{0pt plus 5cm}virtual void I\-Mesh\-::\-Set\-Vertices (
\begin{DoxyParamCaption}
\item[{{\bf S\-Vertex} $\ast$}]{p\-Verts, }
\item[{int}]{vertex\-Count}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{class_i_mesh_a62e4c5399ef799ade53f059f143b6e81}


Implemented in \hyperlink{classpg_mesh_a75852fef61bc02addb57843ed18ba202}{pg\-Mesh}.



The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
Inc/\hyperlink{_i_mesh_8h}{I\-Mesh.\-h}\end{DoxyCompactItemize}
